package com.ruoyi.yqhs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 区域信息对象 yqhs_qy
 * 
 * @author ruoyi
 * @date 2025-08-31
 */
public class YqhsQy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区域ID */
    private Long id;

    /** 上级ID */
    @Excel(name = "上级ID")
    private Long parentId;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String qymc;

    /** 备注 */
    @Excel(name = "备注")
    private String rekark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    public void setQymc(String qymc) 
    {
        this.qymc = qymc;
    }

    public String getQymc() 
    {
        return qymc;
    }

    public void setRekark(String rekark) 
    {
        this.rekark = rekark;
    }

    public String getRekark() 
    {
        return rekark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("qymc", getQymc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("rekark", getRekark())
            .toString();
    }
}
